package com.ruoyi.shop.service.impl;

import com.ruoyi.shop.domain.UserDept;
import com.ruoyi.shop.mapper.UserDeptMapper;
import com.ruoyi.shop.service.IUserDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserDeptServiceImpl implements IUserDeptService {
    @Autowired
    private UserDeptMapper userDeptMapper;


    @Override
    public UserDept getUserDept(String userName) {
        return userDeptMapper.getUserDept(userName);
    }
}
